#ifndef _H_JSON
#define _H_JSON
#include "stm32f10x.h"
#include "stdio.h"
#include "cJSON.h"
#include "THdata.h"
#define MSG_TYPE_CONFIG 1
#define MSG_TYPE_CONFIG_NETWORK 2


//解析json里面的消息队列
int parseMsgType(const char *data);

//将data数据放入THDate结构体中
int parseMsgData(THData *thdata,const char *dataMsg);
#endif